<?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "{{%base_house_type}}".
 *
 * @property integer $id
 * @property string $house_type
 */
class BaseHouseTypeModel extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%base_house_type}}';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['house_type'], 'string', 'max' => 30],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'house_type' => 'House Type',
        ];
    }
}
